﻿@model ITSTOREBLL.SanPham

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout_admin.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>SanPham</legend>

    <div class="display-label">sp_ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_ID)
    </div>

    <div class="display-label">sp_Ten</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_Ten)
    </div>

    <div class="display-label">sp_Gia</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_Gia)
    </div>

    <div class="display-label">LoaiSanPham</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LoaiSanPham.lsp_Ten)
    </div>

    <div class="display-label">sp_SoLuong</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_SoLuong)
    </div>

    <div class="display-label">sp_ThongTin</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_ThongTin)
    </div>

    <div class="display-label">sp_ThongTinChiTiet</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_ThongTinChiTiet)
    </div>

    <div class="display-label">sp_Hinh</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_Hinh)
    </div>

    <div class="display-label">NhaSanXuat</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NhaSanXuat.nsx_Ten)
    </div>

    <div class="display-label">sp_LuotXem</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_LuotXem)
    </div>

    <div class="display-label">sp_KhuyenMai</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sp_KhuyenMai)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
